/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package lomext.lom.Schema;

import java.util.Collection;
import lomext.lom.Schema.tipos.Identifier;



/**
 *
 * @author User
 */
public class General {
    private Collection<Identifier> identifier;
    private String title;
    private Collection<String> language;
    private String description;
    private Collection<String> keyword;
    private Collection<String> coverage;
    private String structure;
    private int agregationLevel;

    public General(Collection<Identifier> identifier, String title, Collection<String> language, String description, Collection<String> keyword, Collection<String> coverage, String structure, int agregationLevel) {
        this.identifier = identifier;
        this.title = title;
        this.language = language;
        this.description = description;
        this.keyword = keyword;
        this.coverage = coverage;
        this.structure = structure;
        this.agregationLevel = agregationLevel;
    }

    public General() {
    }

    public int getAgregationLevel() {
        return agregationLevel;
    }

    public void setAgregationLevel(int agregationLevel) {
        if (agregationLevel >= 1 && agregationLevel <= 4)
            this.agregationLevel = agregationLevel;
        else this.agregationLevel = 1;
    }

    public Collection<String> getCoverage() {
        return coverage;
    }

    public void setCoverage(Collection<String> coverage) {
        this.coverage = coverage;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Collection<Identifier> getIdentifier() {
        return identifier;
    }

    public void setIdentifier(Collection<Identifier> identifier) {
        this.identifier = identifier;
    }

    public Collection<String> getKeyword() {
        return keyword;
    }

    public void setKeyword(Collection<String> keyword) {
        this.keyword = keyword;
    }

    public Collection<String> getLanguage() {
        return language;
    }

    public void setLanguage(Collection<String> language) {
        this.language = language;
    }

    public String getStructure() {
        return structure;
    }

    public void setStructure(String structure) {
        this.structure = structure;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    
    
}
